package com.hgkj.cloud.base.service.impl;

import com.hgkj.cloud.base.dao.SysFaqSuggestMapper;
import com.hgkj.cloud.base.domain.SysFaqSuggest;
import com.hgkj.cloud.base.service.SysFaqSuggestService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class SysFaqSuggestServiceImpl implements SysFaqSuggestService {

    @Autowired
    private SysFaqSuggestMapper sysFaqSuggestMapper;

    @Override
    public int deleteByPrimaryKey(Integer id) {
        return sysFaqSuggestMapper.deleteByPrimaryKey(id);
    }

    @Override
    public int insert(SysFaqSuggest record) {
        return sysFaqSuggestMapper.insert(record);
    }

    @Override
    public SysFaqSuggest selectByPrimaryKey(Integer id) {
        return sysFaqSuggestMapper.selectByPrimaryKey(id);
    }

    @Override
    public int updateByPrimaryKey(SysFaqSuggest record) {
        return sysFaqSuggestMapper.updateByPrimaryKey(record);
    }

    @Override
    public int getFaqSuggestCount() {
        return sysFaqSuggestMapper.getFaqSuggestCount();
    }
}
